import {ObjectDto, ObjectDtoInterface} from "../../services/sqliteDB/object.dto";
import { TableColumnType } from "../../services/sqliteDB/object.dto";
import {SyncStatus} from "../sync-status";

export class UserCharacteristicRelationshipDto extends ObjectDto implements ObjectDtoInterface {
    // public id: string = null; // id
    public customerNo: string = null; // 用电用户编号
    public markNo: string = null; // 标签编号
    public markName: string = null; // 标签名称
    public markCount: number = null; // 标签使用次数
    public markTypeName: string = null; // 标签类型名称
    public markUserAccount: string = null; // 登录用户编号

    public syncStatus: SyncStatus = SyncStatus.None;
    constructor() {
        super();

    }

    table() {
        return {
            tableName: "UserCharacteristicRelationshipTable",
            tableConstructor: {
                // id: `${TableColumnType.text}`,
                customerNo: `${TableColumnType.text}`,
                markNo: TableColumnType.text,
                markName: TableColumnType.text,
                markTypeName: TableColumnType.text,
                markCount: TableColumnType.int,
                markUserAccount: TableColumnType.text,
                syncStatus: TableColumnType.int
            }
        };
    }

}



